package com.heima.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author WSJ
 * @Date 2022-03-08-15:41 
 * @Version 1.0 （版本号）
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_account_freeze")
public class AccountFreeze implements Serializable {

    @TableId(value = "xid",type = IdType.INPUT)
    private String xid;
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(value = "freeze_money")
    private Integer freezeMoney;
}
